package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 pc_raise_system_config
 * 
 * @author ruoyi
 * @date 2022-08-05
 */
@ApiModel(value = "PcRaiseSystemConfig",description = "【请填写功能名称】对象 pc_raise_system_config")
public class PcRaiseSystemConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 众筹系统配置主键 */
    private Long id;

    /** 类型，按设计图顺序 */
    @ApiModelProperty(value="类型，按设计图顺序",name="PcRaiseSystemConfig$type")
    @Excel(name = "类型，按设计图顺序")
    private Long type;

    /** 众筹成功计算前第几期众筹收益 */
    @ApiModelProperty(value="众筹成功计算前第几期众筹收益",name="PcRaiseSystemConfig$lastEarnTime")
    @Excel(name = "众筹成功计算前第几期众筹收益")
    private Long lastEarnTime;

    /** 众筹成功，比例金额放入分红池 */
    @ApiModelProperty(value="众筹成功，比例金额放入分红池",name="PcRaiseSystemConfig$shareRate")
    @Excel(name = "众筹成功，比例金额放入分红池")
    private BigDecimal shareRate;

    /** 众筹失败，返还锁定期金藻比例 */
    @ApiModelProperty(value="众筹失败，返还锁定期金藻比例",name="PcRaiseSystemConfig$lockReturnGoldRate")
    @Excel(name = "众筹失败，返还锁定期金藻比例")
    private BigDecimal lockReturnGoldRate;

    /** 众筹失败，返还锁定期银藻比例 */
    @ApiModelProperty(value="众筹失败，返还锁定期银藻比例",name="PcRaiseSystemConfig$lockReturnSilverRate")
    @Excel(name = "众筹失败，返还锁定期银藻比例")
    private BigDecimal lockReturnSilverRate;

    /** 众筹失败，返还当期用户金藻比例 */
    @ApiModelProperty(value="众筹失败，返还当期用户金藻比例",name="PcRaiseSystemConfig$nowReturnGoldRate")
    @Excel(name = "众筹失败，返还当期用户金藻比例")
    private BigDecimal nowReturnGoldRate;

    /** 优先预购需要消耗的银藻比例 */
    @ApiModelProperty(value="优先预购需要消耗的银藻比例",name="PcRaiseSystemConfig$firstOrderSilverRate")
    @Excel(name = "优先预购需要消耗的银藻比例")
    private BigDecimal firstOrderSilverRate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setLastEarnTime(Long lastEarnTime) 
    {
        this.lastEarnTime = lastEarnTime;
    }

    public Long getLastEarnTime() 
    {
        return lastEarnTime;
    }
    public void setShareRate(BigDecimal shareRate) 
    {
        this.shareRate = shareRate;
    }

    public BigDecimal getShareRate() 
    {
        return shareRate;
    }
    public void setLockReturnGoldRate(BigDecimal lockReturnGoldRate) 
    {
        this.lockReturnGoldRate = lockReturnGoldRate;
    }

    public BigDecimal getLockReturnGoldRate() 
    {
        return lockReturnGoldRate;
    }
    public void setLockReturnSilverRate(BigDecimal lockReturnSilverRate) 
    {
        this.lockReturnSilverRate = lockReturnSilverRate;
    }

    public BigDecimal getLockReturnSilverRate() 
    {
        return lockReturnSilverRate;
    }
    public void setNowReturnGoldRate(BigDecimal nowReturnGoldRate) 
    {
        this.nowReturnGoldRate = nowReturnGoldRate;
    }

    public BigDecimal getNowReturnGoldRate() 
    {
        return nowReturnGoldRate;
    }
    public void setFirstOrderSilverRate(BigDecimal firstOrderSilverRate) 
    {
        this.firstOrderSilverRate = firstOrderSilverRate;
    }

    public BigDecimal getFirstOrderSilverRate() 
    {
        return firstOrderSilverRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("lastEarnTime", getLastEarnTime())
            .append("shareRate", getShareRate())
            .append("lockReturnGoldRate", getLockReturnGoldRate())
            .append("lockReturnSilverRate", getLockReturnSilverRate())
            .append("nowReturnGoldRate", getNowReturnGoldRate())
            .append("firstOrderSilverRate", getFirstOrderSilverRate())
            .toString();
    }
}
